<div class="modal-header">
  <div class="modal-title">{{ i.id === 0 ? '添加员工' : '编辑员工' }}</div>
</div>
<div>
  <sf #sf [ui]="ui" [schema]="schema" [button]="'none'"></sf>
</div>
<div class="modal-footer">
  <button nz-button type="button" (click)="close()">取消</button>
  <button nz-button type="button" nzType="primary" (click)="sure()" [disabled]="!sf.valid">保存</button>
</div>